package com.zzqstart.bannerservice;

/**
 * ClassName: BannerServiceMain
 * Package: com.zzqstart.bannerservice
 * Description:
 *
 * @Author zzqstart
 * @Create 2023-03-06 20:27
 * @Version 1.0
 */

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.zzqstart"})
@EnableDiscoveryClient
@MapperScan("com.zzqstart.bannerservice.mapper")
@EnableCaching
public class BannerServiceMain {
    public static void main(String[] args) {
        SpringApplication.run(BannerServiceMain.class,args);
    }
}

